{extend name="admin@public/base_content" /}
{block name="body"}
<body>
{include file="admin@public/common" /}
<div class="container-fluid larry-wrapper">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <section class="panel panel-padding">
                <form id="form1" class="layui-form layui-form-pane" action="{:url('')}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="name" value="{$info.name|default=''}" required jq-verify="" jq-error="请输入" placeholder="请输入" autocomplete="off" class="layui-input ">
                        </div>
                    </div>

                    <div class="layui-form-item ">
                        <label class="layui-form-label">url地址</label>
                        <div class="layui-input-block">
                            <textarea name="url" placeholder="请输入" class="layui-textarea">{$info.url|default=''}</textarea>
                        </div>
                    </div>
                    <div class="layui-input-block">
                        <input type="hidden" name="id" value="{$info.id|default=''}">
                        <button class="layui-btn" jq-submit lay-filter="submit" jq-tab="true">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </form>
            </section>
        </div>
    </div>
</div>
</body>
{/block}
{block name="script"}
<script>
    layui.use('myform');
</script>
{/block}